import java.net.SocketException;
import java.net.UnknownHostException;

public class Woman {
    public static void main(String[] args) throws SocketException, UnknownHostException {
        // 发 9002男方监听的端口
        new Thread(new UdpSend("127.0.0.1", 8002)).start();
        // 接
        new Thread(new UdpReceive(8001, "男生")).start();
    }
}
